{% extends "base.html" %}

{% block title %}Login - Volunteer Platform{% endblock %}

{% block content %}
<div class="auth-container">
    <div class="auth-box">
        <h2>Login</h2>
        <form method="POST" action="{{ url_for('login') }}" class="auth-form">
            <div class="form-group">
                <label for="email">Email</label>
                <input type="email" id="email" name="email" required>
            </div>
            <div class="form-group">
                <label for="password">Password</label>
                <input type="password" id="password" name="password" required>
            </div>
            <button type="submit" class="btn btn-primary">Login</button>
        </form>
        <div class="auth-links">
            <p>Don't have an account? <a href="{{ url_for('register') }}">Register Now</a></p>
            <p>For administrators, please <a href="{{ url_for('admin_login') }}">Login as Admin</a></p>
        </div>
    </div>
</div>
{% endblock %} 